﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HKEA.CMS.Core.Models;
using HKEA.CMS.Core.Utility;
using System.Data.Objects;

using iMaker.Library;

namespace HKEA.CMS.Core.IDAL.Tbl
{
    public interface ItblCustomer
    {
        tblCustomer GetEntity(tblCustomer ent);

        tblCustomer GetEntity(int UID);

        List<CustomerListENT> GetCustomerDetailList(ref PageParam param, string strPropertyName, string strOrderBy);

        List<tblCustomer> GetListByENT(tblCustomer ent, ref PageParam param, string strPropertyName, string strOrderBy);

        List<tblCustomer> GetListByENT(tblCustomer ent);

        int GetCountByENT(tblCustomer ent);

        int InsertENT(tblCustomer ent);

        int UpdateENT(tblCustomer ent);

        int UpdateDeleted(int UID);

        int DeleteENT(int UID);

        int DeleteENT(tblCustomer ent);

        List<CustomerListENT> GetCustomerList(List<int> customeruidlist);
    }   
}
